home *** CD-ROM | disk | FTP | other *** search
/ Top 100 Games / Top 100 Games.iso / rummi / RUMMI.BAT next >
DOS Batch File  |  1997-10-31  |  714b  |  40 lines

  1. @echo off
  2. cls
  3.  
  4. if x%1 == xinstall goto install
  5. if x%1 == xreins goto reins
  6. if not exist c:\ts\rummi\rummi.exe goto temp
  7.  
  8. :install
  9.   if exist c:\ts\rummi\rummi.exe goto insready
  10. :reins
  11.   if exist c:\ts\ts goto install2
  12.   md c:\ts > NUL:
  13.   echo ts > c:\ts\ts
  14.   :install2
  15.     md c:\ts\rummi > NUL:
  16.     \pkunzip -o rummi.zip c:\ts\rummi > NUL:
  17.   :insready
  18.     c:
  19.     cd \ts\rummi
  20.     rummi.exe
  21.     goto einde
  22.  
  23. :temp
  24.   md c:\ts_tmp > NUL:
  25.   if not exist c:\ts_y copy \y c:\ts_y > NUL:
  26.   \pkunzip -o rummi.zip c:\ts_tmp > NUL:
  27.   c:
  28.   cd \ts_tmp
  29.   rummi.exe
  30.   c:
  31.   cd \
  32.   del c:\ts_tmp\*.* < c:\ts_y > NUL:
  33.   rd c:\ts_tmp
  34.   del c:\ts_y > NUL:
  35.   goto einde
  36.  
  37. :einde
  38.   @echo off
  39.   cls
  40.